Add tests for inheriting Nap class