added small test framework