added intentional bug, removed tests, moved to subpackage