improved build
created simple test framework