Nearly working test

Still learning how to commit sophisticated changes with NetBeans