updated changelog and added more tests