improved test structure

add macro to create a test. 
put all tests in one project group. 
remove main methods from test code.