Aleksey week2b

Fixed some UI bugs on header and flash messages, also finished integrating tests and implementation of week2 assignments.