fixed unit tests
moved assembly variable to top of class