added a test case that is similar to #151 but with no variance issue