added unit tests for creature