fixed Compatible and added a small test case