refactoring tests
adding support for 4.5.1 and 4.5.2
fixing bug raised by strict_variables