added unit test for prefix