implementing tests
some cleaning and making it run onto wildfly
trying to do it work