test runs fine with assertions