Don't use lib 'lib' in test
Add tests for deep checking (P:13/13)