test added

needs lots more tests