Anthony Albanese ended the parliamentary year on a high after the Senate sat late to pass 31 bills on Thursday night.