tests with prototype