BasicTest Without console and main() as entry point