refactors test to bitplan package adds gitignore for target