Fixed tests.
Merge branch 'test' into dev